<?php
require_once 'Zend/Amf/Server.php';
require_once 'vo/UserVO.php';
require_once 'vo/CustomerVO.php';
require_once 'vo/AddressVO.php';
require_once 'vo/ProductVO.php';
require_once 'vo/FileVO.php';
require_once 'vo/OrderVO.php';

$server  = new Zend_Amf_Server();

$server->setProduction(false);
$server->addDirectory(dirname(__FILE__).'/service');

$server->setClassMap('UserVO', 'UserVO');
$server->setClassMap('CustomerVO', 'CustomerVO');
$server->setClassMap('AddressVO', 'AddressVO');
$server->setClassMap('ProductVO', 'ProductVO');
$server->setClassMap('FileVO', 'FileVO');
$server->setClassMap('OrderVO', 'OrderVO');

echo ($server->handle());